package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.dto.NursingPlanDto;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

/**
 * @Description NursingLevelService
 * @Author hu hanSan
 * @Date 2024-09-09
 */
public interface NursingLevelService {
    /**
     * 查询所有护理等级
     * @return
     */
    List<NursingLevelVo> getListAll();

    /**
     * 新增护理等级
     * @param nursingLevelDto
     */
    void addLevel(NursingLevelDto nursingLevelDto);

    /**
     * 条件分页查询
     * @param name
     * @param status
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResponse<NursingLevelVo> page(String name, Integer status, Integer pageNum, Integer pageSize);

    /**
     * 根据id来查询
     * @param id
     * @return
     */
    NursingLevelVo getById(Long id);

    /**
     * 启用和禁用
     * @param id
     * @param status
     */
    void putStatus(Long id, Integer status);

    /**
     * 根据id来删除
     * @param id
     */
    void deleteById(Integer id);

    /**
     * 修改护理等级
     * @param nursingLevelDto
     */
    void update(NursingLevelDto nursingLevelDto);
}
